package com.skynet.supervision.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skynet.supervision.beans.response.user.UserItemResponse;
import com.skynet.supervision.entities.SysDept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface SysDeptPostMapper extends BaseMapper<SysDept> {

    List<UserItemResponse> userListByDeptId(String deptId);

    List<UserItemResponse> userListByDeptIds(List<String> deptId);
}
